Initializes a new instance of the LearningStoreTransactionScope class with the specified options.
Parent Type: LearningStoreTransactionScope
Namespace: Microsoft.LearningComponents.Storage
Assembly: Microsoft.LearningComponents.Storage.dll
| C# |
|
public LearningStoreTransactionScope ( ) |
transactionOptions
The transaction options to use if a new transaction is created (i.e., if this is the outermost scope). If a new transaction is not created (i.e., this scope is nested inside another), then the isolation level must either be unspecified or identical to the currently-existing transaction, and the timeout value must be zero.
| Exception type | Condition |
| System.InvalidOperationException | The transaction options specified are invalid. |
See LearningStoreTransactionScope for more information.